//  program:    Stata 14
//  task:       Assigning CID #
//  project:    SuiAlc 

//	#0A
replace CID=	4	if nation=="Afghanistan"
replace CID=	248	if nation=="Aland Islands"
replace CID=	8	if nation=="Albania"
replace CID=	12	if nation=="Algeria"
replace CID=	16	if nation=="American Samoa"
replace CID=	20	if nation=="Andorra"
replace CID=	24	if nation=="Angola"
replace CID=	660	if nation=="Anguilla"
replace CID=	10	if nation=="Antarctica"
replace CID=	28	if nation=="Antigua and Barbuda"
replace CID=	32	if nation=="Argentina"
replace CID=	51	if nation=="Armenia"
replace CID=	533	if nation=="Aruba"
replace CID=	36	if nation=="Australia"
replace CID=	40	if nation=="Austria"
replace CID=	31	if nation=="Azerbaijan"
replace CID=	44	if nation=="Bahamas"
replace CID=	48	if nation=="Bahrain"
replace CID=	50	if nation=="Bangladesh"
replace CID=	52	if nation=="Barbados"
replace CID=	112	if nation=="Belarus"
replace CID=	56	if nation=="Belgium"
replace CID=	84	if nation=="Belize"
replace CID=	204	if nation=="Benin"
replace CID=	60	if nation=="Bermuda"
replace CID=	64	if nation=="Bhutan"
replace CID=	68	if nation=="Bolivia (Plurinational State of)"
replace CID=	70	if nation=="Bosnia and Herzegovina"
replace CID=	72	if nation=="Botswana"
replace CID=	74	if nation=="Bouvet Island"
replace CID=	76	if nation=="Brazil"
replace CID=	86	if nation=="British Indian Ocean Territory"
replace CID=	92	if nation=="British Virgin Islands"
replace CID=	96	if nation=="Brunei Darussalam"
replace CID=	100	if nation=="Bulgaria"
replace CID=	854	if nation=="Burkina Faso"
replace CID=	108	if nation=="Burundi"
replace CID=	116	if nation=="Cambodia"
replace CID=	120	if nation=="Cameroon"
replace CID=	124	if nation=="Canada"
replace CID=	132	if nation=="Cabo Verde"
replace CID=	136	if nation=="Cayman Islands"
replace CID=	140	if nation=="Central African Republic"
replace CID=	148	if nation=="Chad"
replace CID=	152	if nation=="Chile"
replace CID=	156	if nation=="China"
replace CID=	162	if nation=="Christmas Island"
replace CID=	166	if nation=="Cocos (Keeling) Islands"
replace CID=	170	if nation=="Colombia"
replace CID=	174	if nation=="Comoros"
replace CID=	178	if nation=="Congo"
replace CID=	180	if nation=="Congo (Democratic Republic of the)"
replace CID=	184	if nation=="Cook Islands"
replace CID=	188	if nation=="Costa Rica"
replace CID=	191	if nation=="Croatia"
replace CID=	192	if nation=="Cuba"
replace CID=	196	if nation=="Cyprus"
replace CID=	203	if nation=="Czech Republic"
replace CID=	203	if nation=="Czechia"

replace CID=	384	if nation=="Cote d'Ivoire"
replace CID=	208	if nation=="Denmark"
replace CID=	262	if nation=="Djibouti"
replace CID=	212	if nation=="Dominica"
replace CID=	214	if nation=="Dominican Republic"
replace CID=	218	if nation=="Ecuador"
replace CID=	818	if nation=="Egypt"
replace CID=	222	if nation=="El Salvador"
replace CID=	226	if nation=="Equatorial Guinea"
replace CID=	232	if nation=="Eritrea"
replace CID=	233	if nation=="Estonia"
replace CID=	231	if nation=="Ethiopia"
replace CID=	238	if nation=="Falkland Islands (Malvinas)"
replace CID=	234	if nation=="Faroe Islands"
replace CID=	242	if nation=="Fiji"
replace CID=	246	if nation=="Finland"
replace CID=	250	if nation=="France"
replace CID=	254	if nation=="French Guiana"
replace CID=	258	if nation=="French Polynesia"
replace CID=	260	if nation=="French Southern Territories"
replace CID=	266	if nation=="Gabon"
replace CID=	270	if nation=="Gambia"
replace CID=	268	if nation=="Georgia"
replace CID=	276	if nation=="Germany"
replace CID=	288	if nation=="Ghana"
replace CID=	292	if nation=="Gibraltar"
replace CID=	300	if nation=="Greece"
replace CID=	304	if nation=="Greenland"
replace CID=	308	if nation=="Grenada"
replace CID=	312	if nation=="Guadeloupe"
replace CID=	316	if nation=="Guam"
replace CID=	320	if nation=="Guatemala"
replace CID=	831	if nation=="Guernsey"
replace CID=	324	if nation=="Guinea"
replace CID=	624	if nation=="Guinea-Bissau"
replace CID=	328	if nation=="Guyana"
replace CID=	332	if nation=="Haiti"
replace CID=	334	if nation=="Heard Island and Mcdonald Islands"
replace CID=	336	if nation=="Holy See (Vatican City State)"
replace CID=	340	if nation=="Honduras"
replace CID=	344	if nation==" Hong Kong, China (SAR)"
replace CID=	348	if nation=="Hungary"
replace CID=	352	if nation=="Iceland"
replace CID=	356	if nation=="India"
replace CID=	360	if nation=="Indonesia"
replace CID=	364	if nation=="Iran (Islamic Republic of)"
replace CID=	368	if nation=="Iraq"
replace CID=	372	if nation=="Ireland"
replace CID=	833	if nation=="Isle of Man"
replace CID=	376	if nation=="Israel"
replace CID=	380	if nation=="Italy"
replace CID=	388	if nation=="Jamaica"
replace CID=	392	if nation=="Japan"
replace CID=	832	if nation=="Jersey"
replace CID=	400	if nation=="Jordan"
replace CID=	398	if nation=="Kazakhstan"
replace CID=	404	if nation=="Kenya"
replace CID=	296	if nation=="Kiribati"
replace CID=	408	if nation=="Democratic People's Republic of Korea"
replace CID=	410	if nation=="Korea (Republic of)"
replace CID=	410	if nation=="Korea"

replace CID=	414	if nation=="Kuwait"
replace CID=	417	if nation=="Kyrgyzstan"
replace CID=	418	if nation=="Lao People's Democratic Republic"
replace CID=	428	if nation=="Latvia"
replace CID=	422	if nation=="Lebanon"
replace CID=	426	if nation=="Lesotho"
replace CID=	430	if nation=="Liberia"
replace CID=	434	if nation=="Libya"
replace CID=	438	if nation=="Liechtenstein"
replace CID=	440	if nation=="Lithuania"
replace CID=	442	if nation=="Luxembourg"
replace CID=	446	if nation=="Macao Special Administrative Region of China"
replace CID=	807	if nation=="The former Yugoslav Republic of Macedonia"
replace CID=	450	if nation=="Madagascar"
replace CID=	454	if nation=="Malawi"
replace CID=	458	if nation=="Malaysia"
replace CID=	462	if nation=="Maldives"
replace CID=	466	if nation=="Mali"
replace CID=	470	if nation=="Malta"
replace CID=	584	if nation=="Marshall Islands"
replace CID=	474	if nation=="Martinique"
replace CID=	478	if nation=="Mauritania"
replace CID=	480	if nation=="Mauritius"
replace CID=	175	if nation=="Mayotte"
replace CID=	484	if nation=="Mexico"
replace CID=	583	if nation=="Micronesia (Federated States of)"
replace CID=	498	if nation=="Moldova (Republic of)"
replace CID=	492	if nation=="Monaco"
replace CID=	496	if nation=="Mongolia"
replace CID=	499	if nation=="Montenegro"
replace CID=	500	if nation=="Montserrat"
replace CID=	504	if nation=="Morocco"
replace CID=	508	if nation=="Mozambique"
replace CID=	104	if nation=="Myanmar"
replace CID=	516	if nation=="Namibia"
replace CID=	520	if nation=="Nauru"
replace CID=	524	if nation=="Nepal"
replace CID=	528	if nation=="Netherlands"
replace CID=	530	if nation=="Netherlands Antilles"
replace CID=	540	if nation=="New Caledonia"
replace CID=	554	if nation=="New Zealand"
replace CID=	558	if nation=="Nicaragua"
replace CID=	562	if nation=="Niger"
replace CID=	566	if nation=="Nigeria"
replace CID=	570	if nation=="Niue"
replace CID=	574	if nation=="Norfolk Island"
replace CID=	580	if nation=="Northern Mariana Islands"
replace CID=	578	if nation=="Norway"
replace CID=	512	if nation=="Oman"
replace CID=	586	if nation=="Pakistan"
replace CID=	585	if nation=="Palau"
replace CID=	275	if nation=="Palestinian Territory, Occupied"
replace CID=	591	if nation=="Panama"
replace CID=	598	if nation=="Papua New Guinea"
replace CID=	600	if nation=="Paraguay"
replace CID=	604	if nation=="Peru"
replace CID=	608	if nation=="Philippines"
replace CID=	612	if nation=="Pitcairn"
replace CID=	616	if nation=="Poland"
replace CID=	620	if nation=="Portugal"
replace CID=	630	if nation=="Puerto Rico"
replace CID=	634	if nation=="Qatar"
replace CID=	642	if nation=="Romania"
replace CID=	643	if nation=="Russian Federation"
replace CID=	646	if nation=="Rwanda"
replace CID=	638	if nation=="Réunion"
replace CID=	654	if nation=="Saint Helena"
replace CID=	659	if nation=="Saint Kitts and Nevis"
replace CID=	662	if nation=="Saint Lucia"
replace CID=	666	if nation=="Saint Pierre and Miquelon"
replace CID=	670	if nation=="Saint Vincent and the Grenadines"
replace CID=	652	if nation=="Saint-Barthélemy"
replace CID=	663	if nation=="Saint-Martin (French part)"
replace CID=	882	if nation=="Samoa"
replace CID=	674	if nation=="San Marino"
replace CID=	678	if nation=="Sao Tome and Principe"
replace CID=	682	if nation=="Saudi Arabia"
replace CID=	686	if nation=="Senegal"
replace CID=	688	if nation=="Serbia"
replace CID=	690	if nation=="Seychelles"
replace CID=	694	if nation=="Sierra Leone"
replace CID=	702	if nation=="Singapore"
replace CID=	703	if nation=="Slovakia"
replace CID=	703	if nation=="Slovak Republic"

replace CID=	705	if nation=="Slovenia"
replace CID=	90	if nation=="Solomon Islands"
replace CID=	706	if nation=="Somalia"
replace CID=	710	if nation=="South Africa"
replace CID=	239	if nation=="South Georgia and the South Sandwich Islands"
replace CID=	728	if nation=="South Sudan"
replace CID=	724	if nation=="Spain"
replace CID=	144	if nation=="Sri Lanka"
replace CID=	736	if nation=="Sudan"
replace CID=	740	if nation=="Suriname"
replace CID=	744	if nation=="Svalbard and Jan Mayen Islands"
replace CID=	748	if nation=="Swaziland"
replace CID=	752	if nation=="Sweden"
replace CID=	756	if nation=="Switzerland"
replace CID=	760	if nation=="Syrian Arab Republic"
replace CID=	158	if nation=="Taiwan, Republic of China"
replace CID=	762	if nation=="Tajikistan"
replace CID=	834	if nation=="Tanzania (United Republic of)"
replace CID=	764	if nation=="Thailand"
replace CID=	626	if nation=="Timor-Leste"
replace CID=	768	if nation=="Togo"
replace CID=	772	if nation=="Tokelau"
replace CID=	776	if nation=="Tonga"
replace CID=	780	if nation=="Trinidad and Tobago"
replace CID=	788	if nation=="Tunisia"
replace CID=	792	if nation=="Turkey"
replace CID=	792	if nation=="Türkiye"
replace CID=	795	if nation=="Turkmenistan"
replace CID=	796	if nation=="Turks and Caicos Islands"
replace CID=	798	if nation=="Tuvalu"
replace CID=	800	if nation=="Uganda"
replace CID=	804	if nation=="Ukraine"
replace CID=	784	if nation=="United Arab Emirates"
replace CID=	826	if nation=="United Kingdom"
replace CID=	581	if nation=="United States Minor Outlying Islands"
replace CID=	840	if nation=="United States"
replace CID=	858	if nation=="Uruguay"
replace CID=	860	if nation=="Uzbekistan"
replace CID=	548	if nation=="Vanuatu"
replace CID=	862	if nation=="Venezuela (Bolivarian Republic of)"
replace CID=	704	if nation=="Viet Nam"
replace CID=	850	if nation=="Virgin Islands, US"
replace CID=	876	if nation=="Wallis and Futuna Islands"
replace CID=	732	if nation=="Western Sahara"
replace CID=	887	if nation=="Yemen"
replace CID=	894	if nation=="Zambia"
replace CID=	716	if nation=="Zimbabwe"

//
